<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>数据源列表页</title>
    <script src="../../../../../miniUI/scripts/boot.js"></script>
    <link href="../../css/commen.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <!--按钮-->
    <div style="width:100%;">
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                    <td style="width:100%;">
                        <a id="addBtn" class="mini-button" iconCls="icon-add" plain="true" onclick="add()">增加</a>
                        <span class="separator"></span>   <!--分割线-->
                        <a id="editBtn" class="mini-button" iconCls="icon-edit" plain="true" onclick="edit()">编辑</a>
                        <span class="separator"></span>   <!--分割线-->
                        <a id="removeBtn" class="mini-button" iconCls="icon-edit" plain="true" onclick="remove()">删除</a>
                        <span class="separator"></span>   <!--分割线-->
                        <a id="searchBtn" class="mini-button" iconCls="icon-search" plain="true" onclick="search()">查询</a>
                        <span class="separator"></span>   <!--分割线-->
                        <a id="treeMoMeBtn" class="mini-button" iconCls="icon-search" plain="true" onclick="treeMoMe()">关联菜单</a>
                        
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <!--表格-->
    <div class="mini-fit">
        <div id="dataGrid" class="mini-datagrid" style="width:100%;height:100%;" multiSelect="false" allowCellEdit="true" allowCellSelect="true">
            <div property="columns">
                <div type="checkcolumn" ></div>
                <div type="indexcolumn">序号</div>
                <div field="reportId" width="120" headerAlign="center" allowSort="true" visible="false">报表Id</div>
                <div field="reportName" width="120" headerAlign="center" align="center" allowSort="true">报表名称</div>
                <div field="ipAddress" width="120" headerAlign="center" align="center" allowSort="true">IP地址</div>
                <div field="dbName" width="120" headerAlign="center" align="center" allowSort="true">数据库名称</div>
                <div field="jDBCDriver" width="120" headerAlign="center" align="center" allowSort="true">数据驱动</div>
                <div field="jDBCUserName" width="120" headerAlign="center" align="center" allowSort="true">用户名</div>
                <div field="jDBCPassword" width="120" headerAlign="center" align="center" allowSort="true">密码</div>
                <div field="sql" width="120" headerAlign="center" align="center" allowSort="true">数据来源(sql)</div>
                <div field="whereParam" width="120" headerAlign="center" align="center" allowSort="true">查询条件</div>
            </div>
        </div>
    </div>

    <script src="js/dataSourcesList.js"></script>

</body>
</html>